document.writeln("<div class=\'layui-bg-red\' style=\'width: 100%\'>");
document.writeln("    <ul class=\'layui-nav nav_left\' lay-filter=\'\'>");
document.writeln("        <li class=\'layui-nav-item\'><a href=\'/news\'>首页</a></li>");
document.writeln("        <li class=\'layui-nav-item \'>");
document.writeln("            <a href=\'newslist.html?categoryId=1\'>社区新闻</a>");
document.writeln("        </li>");
document.writeln("        <li class=\'layui-nav-item\'><a href=\'newslist.html?categoryId=2\'>社区帮助</a></li>");
document.writeln("        <li class=\'layui-nav-item\'><a href=\'newslist.html?categoryId=3\'>社区风采</a></li>");
document.writeln("        <li class=\'layui-nav-item\'><a href=\'newslist.html?categoryId=4\'>投稿专栏</a></li>");
document.writeln("        <div class=\"search_container\">");
document.writeln("            <input class=\"layui-input search_article\" type=\"text\" placeholder=\"输入文章标题\">");
document.writeln("            <div class=\"result_container\">");
document.writeln("            </div>");
document.writeln("        </div>");
document.writeln("        <button type=\"button\" class=\"layui-btn\" style=\"margin-top: 15px\">搜索</button>");
document.writeln("    </ul>");
document.writeln("    <ul class=\'layui-nav nav_right\' lay-filter=\'\'>");
document.writeln("        <li class=\'layui-nav-item tologin\'>");
document.writeln("            <a href=\'admin?method=toLogin\'>登录</a>");
document.writeln("        </li>");
document.writeln("        <li class=\'layui-nav-item has-login\'>");
document.writeln("            <a href=\'javascript:;\' class=\'username\'></a>");
document.writeln("            <dl class=\'layui-nav-child\'> <!-- 二级菜单 -->");
document.writeln("                <dd><a id=\'logout\'>注销</a></dd>");
document.writeln("                <dd><a href=\'postNewsDetail.html\' id=\'post\'>投稿</a></dd>");
document.writeln("            </dl>");
document.writeln("        </li>");
document.writeln("    </ul>");
document.writeln("</div>");